<template>
	<view class="go-back flex justify-start align-center" :style="{height: Custom?`${Custom.height}px`:'50rpx',top:Custom?`${Custom.top}px`:'20rpx'}"
	 @click="toBack">
		<text class="cuIcon-back"></text>
	</view>
</template>

<script>
	export default {
		methods: {
			toBack() {
				uni.navigateBack({
					delta: 1
				})
			}
		},
	}
</script>

<style lang="scss" scoped>
	.go-back {
		position: fixed;
		left: 20rpx;
		z-index: 10000;
		display: flex;
		align-items: center;

		.cuIcon-back {
			font-size: 36rpx;
			color: #fff;
		}
	}
</style>
